﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK_WMS.Model.Models.LyModel
{
    /// <summary>
    /// 采购表
    /// </summary>
    [Table("T_Purchase")]
    public class Purchase:BaseEntity
    {
        
        public DateTime PurchaseDate { get; set; }  // 采购日期
        public int SupplierID { get; set; }  // 供应商ID，外键
        [StringLength(30)]
        public string Content { get; set; }  // 采购内容
        public int Quantity { get; set; }  // 采购数量
        public decimal UnitPrice { get; set; }  // 单价
        public decimal TotalCost { get; set; }  // 总费用
        [StringLength(30)]
        public string Progress { get; set; }  // 采购进度
       
    }
}
